﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WindowsFormsApplication.UserControls;

namespace WindowsFormsApplication
{
    public partial class ControlsForm : Form
    {
        public ControlsForm()
        {
            InitializeComponent();
        }

        private void ControlsForm_Load(object sender, EventArgs e)
        {
            PrompTextBox txtBox = new PrompTextBox();
            txtBox.PrompText = "Please input text!";
            txtBox.Width = 300;
            txtBox.Height = 30;
            panel1.Controls.Add(txtBox);
        }
    }
}
